package com.agrec.client.actors;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Alaa Gharbawi
 *
 */
public class Position implements IsSerializable {

	private int id;
	private int companyID;
	private String jobTitle;
	private String location;
	private double minSalary;
	private double maxSalary;
	private Date datePosted;
	private String city;
	private String contactName;
	private String contactEmail;
	private String userName;
	private String otherBenefits;
	private String notes;
	private char showOnWeb;
	private String nationalities;
	private String visasAvailable;
	private int minAge;
	private int maxAge;
	private char gender;
	private String fringBenifits;
	private double variablePayStructure;
	private String jobResponsabilities;
	private String reportsInto;
	private String directReport;
	private String backgroundHistory;
	private String keySellingProposition;
	private String experience;
	private String personality;
	private String jobType;
	private String attach;
	private String industry_speciality;
	
	
	public Position() {
		id(0);
		companyID(0);
		jobTitle(new String());
		location(new String());
		minSalary(0);
		maxSalary(0);
		datePosted(new Date());
		city(new String());
		contactName(new String());
		contactEmail(new String());
		userName(new String());
		otherBenefits(new String());
		notes(new String());
		showOnWeb('1');
		nationalities(new String());
		visasAvailable(new String());
		minAge(0);
		maxAge(0);
		gender('M');
		fringBenifits(new String());
		variablePayStructure(0);
		jobResponsabilities(new String());
		reportsInto(new String());
		directReport(new String());
		backgroundHistory(new String());
		keySellingProposition(new String());
		experience(new String());
		personality(new String());
		jobType(new String());
		attach(new String());
		industry_speciality(new String());
	}

	public Position(int id, int companyID, String jobTytle, String location, int minSalary, int maxSalary,
			Date datePosted, String city, String contactName, String contactEmail, String userName, 
			String otherBenefits, String notes, char showOnWeb, String nationalities, String visasAvailable,
			int minAge, int maxAge, char gender, String fringBenifits, double variablePayStructure,
			String jobResponsabilities, String reportsInto, String directReport, String backgroundHistory,
			String keySellingProposition, String experience, String personality, String jobType, String attach,
			String industry_speciality) {
		id(id);
		companyID(companyID);
		jobTitle(jobTytle);
		location(location);
		minSalary(minSalary);
		maxSalary(maxSalary);
		datePosted(datePosted);
		city(city);
		contactName(contactName);
		contactEmail(contactEmail);
		userName(userName);
		otherBenefits(otherBenefits);
		notes(notes);
		showOnWeb(showOnWeb);
		nationalities(nationalities);
		visasAvailable(visasAvailable);
		minAge(minAge);
		maxAge(maxAge);
		gender(gender);
		fringBenifits(fringBenifits);
		variablePayStructure(variablePayStructure);
		jobResponsabilities(jobResponsabilities);
		reportsInto(reportsInto);
		directReport(directReport);
		backgroundHistory(backgroundHistory);
		keySellingProposition(keySellingProposition);
		experience(experience);
		personality(personality);
		jobType(jobType);
		attach(attach);
		industry_speciality(industry_speciality);
	}

	public void id(int id) {
		this.id = id;
	}


	public int id() {
		return id;
	}


	public void companyID(int companyID) {
		this.companyID = companyID;
	}


	public int companyID() {
		return companyID;
	}


	public void jobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}


	public String jobTitle() {
		return jobTitle;
	}


	public void location(String location) {
		this.location = location;
	}


	public String location() {
		return location;
	}


	public void minSalary(double minSalary) {
		this.minSalary = minSalary;
	}


	public double minSalary() {
		return minSalary;
	}


	public void maxSalary(double maxSalary) {
		this.maxSalary = maxSalary;
	}


	public double maxSalary() {
		return maxSalary;
	}


	public void datePosted(Date datePosted) {
		this.datePosted = datePosted;
	}


	public Date datePosted() {
		return datePosted;
	}


	public void city(String city) {
		this.city = city;
	}


	public String city() {
		return city;
	}


	public void contactName(String contactName) {
		this.contactName = contactName;
	}


	public String contactName() {
		return contactName;
	}


	public void contactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}


	public String contactEmail() {
		return contactEmail;
	}


	public void userName(String userName) {
		this.userName = userName;
	}


	public String userName() {
		return userName;
	}


	public void otherBenefits(String otherBenefits) {
		this.otherBenefits = otherBenefits;
	}


	public String otherBenefits() {
		return otherBenefits;
	}


	public void notes(String notes) {
		this.notes = notes;
	}


	public String notes() {
		return notes;
	}


	public void showOnWeb(char showOnWeb) {
		this.showOnWeb = showOnWeb;
	}


	public char showOnWeb() {
		return showOnWeb;
	}


	public void nationalities(String nationalities) {
		this.nationalities = nationalities;
	}


	public String nationalities() {
		return nationalities;
	}


	public void visasAvailable(String visasAvailable) {
		this.visasAvailable = visasAvailable;
	}


	public String visasAvailable() {
		return visasAvailable;
	}


	public void minAge(int minAge) {
		this.minAge = minAge;
	}


	public int minAge() {
		return minAge;
	}


	public void maxAge(int maxAge) {
		this.maxAge = maxAge;
	}


	public int maxAge() {
		return maxAge;
	}


	public void gender(char gender) {
		this.gender = gender;
	}


	public char gender() {
		return gender;
	}


	public void fringBenifits(String fringBenifits) {
		this.fringBenifits = fringBenifits;
	}


	public String fringBenifits() {
		return fringBenifits;
	}


	public void variablePayStructure(double variablePayStructure) {
		this.variablePayStructure = variablePayStructure;
	}


	public double variablePayStructure() {
		return variablePayStructure;
	}


	public void jobResponsabilities(String jobResponsabilities) {
		this.jobResponsabilities = jobResponsabilities;
	}


	public String jobResponsabilities() {
		return jobResponsabilities;
	}


	public void reportsInto(String reportsInto) {
		this.reportsInto = reportsInto;
	}


	public String reportsInto() {
		return reportsInto;
	}


	public void directReport(String directReport) {
		this.directReport = directReport;
	}


	public String directReport() {
		return directReport;
	}


	public void backgroundHistory(String backgroundHistory) {
		this.backgroundHistory = backgroundHistory;
	}


	public String backgroundHistory() {
		return backgroundHistory;
	}


	public void keySellingProposition(String keySellingProposition) {
		this.keySellingProposition = keySellingProposition;
	}


	public String keySellingProposition() {
		return keySellingProposition;
	}


	public void experience(String experience) {
		this.experience = experience;
	}


	public String experience() {
		return experience;
	}


	public void personality(String personality) {
		this.personality = personality;
	}


	public String personality() {
		return personality;
	}


	public void jobType(String jobType) {
		this.jobType = jobType;
	}


	public String jobType() {
		return jobType;
	}


	public void attach(String attach) {
		this.attach = attach;
	}


	public String attach() {
		return attach;
	}


	public void industry_speciality(String industry_speciality) {
		this.industry_speciality = industry_speciality;
	}


	public String industry_speciality() {
		return industry_speciality;
	}

}
